
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <title>登录</title>
    <script src="{{ asset('/js/jquery.min.js') }}"></script>
</head>
<body>

    username: <input type="text" placeholder="username" id="username" value="hello"><br>
    password: <input type="password" placeholder="password" id="password"><br>

    <button id="loginBtn">登陆</button>
    <button id="registerBtn">注册</button>



    <script>
        $(function () {

            $('#loginBtn').on('click', function () {
                var username = $("#username").val();
                var password = $('#password').val();


            });



        });


    </script>
</body>
</html>